package org.dreamwork.tools.code.analyzer.core.data.schema;

import org.dreamwork.persistence.*;

public class EntitySchema extends DatabaseSchema {
	public  EntitySchema () {
		tableName = "_entity";
		fields = new String[] {"_id", "_name", "_belongs_to", "_type", "_path", "_ignored", "_created"};
	}

	@Override
	public String getPrimaryKeyName () {
		return "_id";
	}

	@Override
	public String getCreateDDL () {
		return "create table _entity (" +
"    _id             text            null null primary key," +
"    _name           text," +
"    _belongs_to     text,                                       " +
"    _type           text,                                       " +
"    _path           text,                                       " +
"    _ignored        text,                                       " +
"    _created        text" +
")";
	}
}